package com.keshe.order.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.keshe.order.entity.OrderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.keshe.order.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 *
 *
 * @author tianfanfan
 * @email 2712855098@qq.com
 * @date 2023-01-02 14:28:26
 */
@Mapper
public interface OrderDao extends BaseMapper<OrderEntity> {
    IPage<OrderEntity> getOrderList(@Param("page") Page<OrderEntity> page, @Param(Constants.WRAPPER) Wrapper<Map<String, Object>> wrapper);
    OrderEntity getOrderDatails(@Param(Constants.WRAPPER) Wrapper<Map<String, Object>> wrapper);
}
